﻿<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>${table.TableMemo}列表</title>
    <%@include file="../../include/jsAndCss.jsp" %>
	  <script type="text/javascript" src="../../../skins/common/commonBO.js"></script>
    <script type="text/javascript" src="js/list.js"></script>
</head>
<body class="easyui-layout" fit="false">
<%--查询操作开始--%>
<div style="line-height: 40px; padding-left: 15px; border: 0px;" scroll="no" region="north">
        关键词：
        <input id="txtTitle" type="text"/>
        状态：
        <select id="SelectStatus" panelheight="auto" style="width: 100px;">
            <option value="">==选择==</option>
        </select>
        <a href="#" class="easyui-linkbutton" iconcls="icon-search" onclick="LoadList()">查询</a>
</div>
<%--查询操作结束--%>
<%--数据列表开始--%>
<div region="center" title="数据列表">
    <div id="toolbar">
    </div>
    <table id="dataList">
	<thead>
		  #foreach($column in $ColumnList)
		  #set($columnName=${Utils.ToTitleLower(${column.ColumnNameAlias})})
		  #if(${columnName}=="status")
			<th  data-options="field:'${columnName}',width:80,formatter:function(value) {return GetEnumText(Enum.SwitchStatus,value,1);}">
			 <s:label key="${column.ColumnNameAlias}" theme="simple" ></s:label>
			 </th>
		  #else
			 <th  data-options="field:'${columnName}',width:80">
			 <s:label key="${column.ColumnNameAlias}" theme="simple" ></s:label>
			 </th>
		  #end
			
          #end
	</thead>
    </table>
</div>
<%--数据列表结束--%>
<%--列表右键开始--%>
<div id="rightKeyMenu" class="easyui-menu" style="width: 120px;">
</div>
<%--列表右键结束--%>
</body>
</html>